package com.surfacing.rcp.db.dao;

import java.sql.SQLException;
import java.util.List;

import com.surfacing.rcp.model.entity.Journal;

public interface JournalDAO {

	public static final String TABLE_NAME = "Journal";

	public boolean addJournal(Journal journal) throws SQLException;

	public List<Journal> getAllJournal() throws SQLException;

	public List<Journal> getRangeJournal(int id) throws SQLException;

	public Journal getJournalByID(int id) throws SQLException;

	public boolean updateJournal(Journal journal) throws SQLException;

	public boolean deleteJournal(Journal journal) throws SQLException;

}
